package com.sojoys.artifact.constant;
/**
 * @author : DengYing
 * @CreateDate : 2017年8月11日 下午12:16:37
 * @Description ：Please describe this document
 */
public class ConfigConstant {
	/**
	 * 数据存储线程个数
	 */
	public static final String ARTIFACT_SAVE_THREAD_COUNT = "artifact.save.thread.count";
	
	/**
	 * 数据线程停止超时时间(<b>毫秒</b>)
	 */
	public static final String ARTIFACT_SAVE_THREAD_TIMEOUT = "artifact.save.thread.timeout";
	
	/**
	 * <b>module</b> 扫描地址(一般用于游戏服务器)
	 */
	public static final String CONFIG_SCAN_MODULE = "scan.module.package";
	
	/**
	 * 扫描DAO用于数据库修正
	 */
	public static final String CONFIG_SCAN_DAO = "scan.dao.package";
	
	/**
	 * Socket Host
	 */
	public static final String SOCKET_HOST = "socket.host";
	
	/**
	 * Socket Port
	 */
	public static final String SOCKET_PORT = "socket.port";
	
	/**
	 * netty业务线程数 
	 */
	public static final String LOGIC_THREAD_COUNT = "logic.thread.count";
	
	/**
	 * socket超时设定(毫秒)
	 */
	public static final String SOCKET_TIMEOUT = "socket.timeout";
	
	/**
	 * 开发者模式
	 */
	public static final String CONFIG_DEVMODE = "config.devMode";
	
	/**
	 * 单表到达最大存储数
	 */
	public static final String MAX_SAVE_DATA_COUT = "max.save.data.count";
	/**
	 * 第一次查询锁个数
	 */
	public static final String FIRST_LOAD_LOCK_COUNT = "first.load.lock.count";
	/**
	 * rmi 地址
	 */
	public static final String RMI_HOST = "rmi.host";
	/**
	 * rmi 端口
	 */
	public static final String RMI_PORT = "rmi.port";
	/**
	 * 国际化文件前缀
	 */
	public static final String I18N_FILEPREFIX = "i18n.filePrefix";
	/**
	 * 国际化文件根目录
	 */
	public static final String I18N_FILE_ROOTPATH = "i18n.file.rootpath";
	
	/**
	 * HTTP端口
	 */
	public static final String HTTP_PORT = "http.port";
	
	/**
	 * 静态资源根目录
	 */
	public static final String WEB_STATIC_DIR = "web.static.dir";
	
	
	/** 
	 * <b>controller</b> 扫描地址(一般用于WEB项目) 
	 */
	public static final String WEB_SCAN_CONTROLLER = "web.controller.package";
	
	/**
	 * 文件缓存时间
	 */
	public static final String WEB_FILE_MAXAGE = "web.file.maxage";
	
	/**
	 * 是否开启websocket
	 */
	public static final String WEB_SOCKET = "web.socket";
	
	/**
	 * webSocket地址
	 */
	public static final String WEB_SOCKET_PATH="web.socket.path";
	
	/**
	 * WEB业务线程数
	 */
	public static final String WEB_WORK_THREAD = "web.work.thread";
	
	/**
	 * WEB最大连接数
	 */
	public static final String WEB_MAX_LIMIT = "web.max.limit";
	
	/**
	 * 最大消息
	 */
	public static final String WEB_MAX_MSG_SIZE = "web.maxMsg.size";
	
	/**
	 * 文件路由
	 */
	public static final String WEB_FILE_ROUTER = "web.file.router";
	
	/**
	 * 忽略后缀
	 */
	public static final String WEB_EXCEPT_EXTEND = "web.except.extend";
	
	/**
	 * 拦截器
	 */
	public static final String WEB_FILTER = "web.filter";
	
	/**
	 * 白名单
	 */
	public static final String WEB_ALOW_HOSTS = "web.alow.hosts";
	
	/**
	 * 跨域配置
	 */
	public static final String WEB_CORS_CONF = "web.cors.conf";
	
	/**
	 * controller 扫描地址
	 */
	public static final String WEB_SCAN_DIR = "web.scan.dir";
	/**
	 * DISRUPTOR Handler 扫描地址
	 */
	public static final String CONFIG_SCAN_DISRUPTOR = "config.scan.disruptor";

	public static final String SCAN_EVENT_LISTENER = null;

	public static final String SCAN_EVENT_HANDLER = null;
	/** 工作ID */
	public static final String SNOWFLAKEIDWORKER_WORKERID = "SnowflakeIdWorker.WorkerId";
	/** 数据中心ID */
	public static final String SNOWFLAKEIDWORKER_DATACENTERID = "SnowflakeIdWorker.DatacenterId";
}
